<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/styles/styles.css">
    <title>登录界面</title>
</head>
<body>

    <h1>登录</h1>
    <h3>{{.Error}}</h3>
    <form action="/login" method="POST">
        <label for="name">用户名:</label>
        <input type="text" id="name" name="username" required><br><br>
        <label for="password">密码:</label>
        <input type="password" id="password" name="password" required><br><br>
        <input type="submit" value="Login">
    </form>
    <form action="/reset" method="GET">
        <button type="submit" class="tp-button">忘记密码</button>
    </form>
   <form action="/register" method="GET">
        <button type="submit" class="tp-button">注册用户</button>
    </form>
</body>
</html>